package com.tuyou.demo2.swift;

import com.facebook.swift.service.ThriftException;
import com.facebook.swift.service.ThriftMethod;
import com.facebook.swift.service.ThriftService;

@ThriftService
public interface HelloService
{
    @ThriftMethod(exception = @ThriftException(type = MyException.class, id = 1))
    String ping() throws MyException;
}